home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / djgpp / qdeck / help / makefile < prev    next >
Encoding:
Makefile  |  1994-08-11  |  508 b   |  38 lines

  1. #
  2. # QOS Makefile for DJGPP.
  3. #
  4.  
  5. CFLAGS= -O -c -DMSDOS
  6.  
  7. all:  helpcall.exe ~\help\example.hlp
  8.  
  9. .c.o:
  10.     gcc $(CFLAGS) $<
  11.  
  12. O = helpcall.o
  13.  
  14. L = -lsys -lc -lm
  15.  
  16. helpcall.exe : makefile.tag $(O)
  17.     gcc -o helpcall $(O) $(L)
  18.     strip helpcall
  19.     coff2exe helpcall
  20.     del helpcall
  21.  
  22. makefile.tag:
  23.     del *.tag
  24.     del *.o
  25.     del *.map
  26.     del *.exp
  27.     del *.exe
  28.     del *.rsp
  29.     echo >makefile.tag
  30.  
  31. ~\help\example.hlp:
  32.     cd .\example
  33.     helplib @example.rsp
  34.     copy example.hlp ~\help\.
  35.     del example.hlp
  36.     cd ..
  37.  
  38.